<!DOCTYPE html>
<html>

<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE">
	<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
	<title>品优购，欢迎登录</title>
	<link rel="icon" href="assets/img/favicon.ico">

	<link rel="stylesheet" type="text/css" href="/static/home/css/webbase.css" />
	<link rel="stylesheet" type="text/css" href="/static/home/css/pages-login.css" />
</head>

<body>

	<div class="login-box">
		<!--head-->

		<div class="py-container logoArea">
			<a href="" class="logo"></a>
		</div>
		<!--loginArea-->
		<div class="loginArea">
			<div class="py-container login">
				<div class="loginform">
					<ul class="sui-nav nav-tabs tab-wraped">
						<li>
							<a href="#index" data-toggle="tab">
								<h3>扫描登录</h3>
							</a>
						</li>
						<li class="active">
							<a href="#profile" data-toggle="tab">
								<h3>账户登录</h3>
							</a>
						</li>
					</ul>
					<div class="tab-content tab-wraped">
						<div id="index" class="tab-pane">
							<p>二维码登录，暂为官网二维码</p>
							<img src="/static/home/img/wx_cz.jpg" />
						</div>
						<div id="profile" class="tab-pane  active">
							<form class="sui-form" id="form1" action="/home/user/dologin" method="post">
								<div class="input-prepend"><span class="add-on loginname"></span>
									<input id="prependedInput" name="user_name" type="text" placeholder="用户名/手机号" class="span2 input-xfat">
								</div>
								<div class="input-prepend"><span class="add-on loginpwd"></span>
									<input id="prependedInput2" name="password" type="password" placeholder="请输入密码" class="span2 input-xfat">
								</div>
								<div class="setting">
									<label class="checkbox inline">
										<!-- <input name="m1" type="checkbox" value="2" checked=""> 自动登录 -->
									</label>
									<span class="forget">忘记密码？</span>
								</div>
								<div class="logined">
									<!-- <a class="sui-btn btn-block btn-xlarge btn-danger" href="/home/user/cooperation">登&nbsp;&nbsp;录</a> -->
									<input class="sui-btn btn-block btn-xlarge btn-danger" id="btn-form" type="button" value="登  录">
								</div>
							</form>
							<div class="otherlogin">
								<div class="types">
									<ul>
										<li><img src="/static/home/img/qq.png" width="35px" height="35px" /></li>
										<li><img src="/static/home/img/sina.png" /></li>
										<li><img src="/static/home/img/ali.png" /></li>
										<li><img src="/static/home/img/weixin.png" /></li>
									</ul>
								</div>
								<span class="register"><a href="/home/user/register" target="_blank">立即注册</a></span>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>

		<!--foot-->
		<div class="py-container copyright">
			<ul>
				<li>关于我们</li>
				<li>联系我们</li>
				<li>联系客服</li>
				<li>商家入驻</li>
				<li>营销中心</li>
				<li>手机品优购</li>
				<li>销售联盟</li>
				<li>品优购社区</li>
			</ul>
			<div class="address">地址：北京市昌平区建材城西路金燕龙办公楼一层 邮编：100096 电话：400-618-4000 传真：010-82935100</div>
			<div class="beian">京ICP备08001421号京公网安备110108007702
			</div>
		</div>
	</div>
	<script type="text/javascript" src="/static/home/js/plugins/jquery/jquery.min.js"></script>
	<script type="text/javascript" src="/static/home/js/plugins/jquery.easing/jquery.easing.min.js"></script>
	<script type="text/javascript" src="/static/home/js/plugins/sui/sui.min.js"></script>
	<script type="text/javascript" src="/static/home/js/plugins/jquery-placeholder/jquery.placeholder.min.js"></script>
	<script type="text/javascript" src="/static/home/js/pages/login.js"></script>
	<script type="text/javascript" src="/static/home/js/validate/jquery.validate-1.17.0.min.js"></script>
	<script type="text/javascript" src="/static/home/js/validate/message_zh.js"></script>
	<script>
		document.getElementById('btn-form').setAttribute('type','submit');
		$(function(){

			$("#form1").validate({
				//修改显示错误信息的标签
				// i 指的是：用<i></i>来显示错误信息
				"errorElement":"i",
				// debug:true 表示只验证表单输入是否正确，但是不提交表单
				// "debug":true,

				//验证规则
				"rules":{
					"user_name":{
						"required":true,
					},
					"password":{
						required:true,
					}
				}
			});

		})
	</script>
</body>

</html>